POV-Ray : Newsgroups : povray.advanced-users : isosurface - moving pattern : isosurface - moving pattern Server Time
8 Jul 2024 19:34:08 EDT (-0400)
  isosurface - moving pattern  
From: kurtz le pirate
Date: 1 Jul 2007 04:25:03
Message: <kurtzlepirate-0C47BD.10250001072007@news.povray.org>
hello,

if i use a classic isosurface box perturbed with pigment function like 
this : 

#declare block = isosurface {
  function { max((y*y-1),(x*x-1),(z*z-1)) - pigmentFn(x,y,z).gray*0.75 } 
  ...
  }

with : 
#declare pigmentFn =  function {
  pigment {
    cells
    color_map { [0 rgb 0][1 rgb 1] }
    scale 0.35
    }
  } 

this works well and give me a "perturbed cube". now i want to make and 
other cube with alwaway the same pattern but translated... but how to 
translate the pigment function to have different cube ?


thanks
-- 
klp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.